<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>

	<body>
	</body>
	<script>
		function timeout(ms) {
			return new Promise((resolve) => {
				setTimeout(() => {
					resolve("shisongyan")
				}, ms);
			});
		}

		async function asyncPrint(value, ms) {
			let res = await timeout(ms);
			console.log(res)
			console.log(value)
		}

		asyncPrint('hello world', 3000);
	</script>

</html>